package com.spring.ai.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotNull;

/**
 * 接收参数类
 */
@Schema(name = "KongMengVO", description = "对话的入参")
@Data
public class KongMengVO {
    /**
     * 用户id
     */
    @NotNull(message = "用户ID不能为空")
    @Schema(description = "用户ID", example = "1")
    private Long userId;

    /**
     * 用户消息(问题)
     */
    @Schema(description = "用户消息(问题)", example = "你叫什么名字？")
    private String message;

}
